package com.gcosc.hly.codejava.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gcosc.hly.codejava.VO.AnswerDetailVO;
import com.gcosc.hly.codejava.VO.AnswerVO;
import com.gcosc.hly.codejava.VO.PageResult;
import com.gcosc.hly.codejava.entity.Answer;
import com.gcosc.hly.codejava.params.QueryParams;


public interface AnswerService extends IService<Answer> {

    PageResult<AnswerVO> queryParams(QueryParams params);

    int edit(Answer answer);

    AnswerDetailVO getDetail(int id);
}
